<?php
$replaces = array(
    'name'          => $_SESSION['user']['name'],
    'id'            => $_SESSION['user']['id'],
    'link_checkin'  => $langMgr->get('link_checkin'),
    'link_logout'   => $langMgr->get('link_logout'),
);

$templateMgr->loadContent(basename(__FILE__, '.php'), $replaces);
?>
